USE [Yacht Rental]
GO

/****** Object:  Table [dbo].[fleet_operators]    Script Date: 10/17/2017 1:52:28 PM ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[fleet_operators](
	[FleetoperaterID] [int] NOT NULL,
	[ope_company] [varchar](100) NULL,
	[id_ope] [int] NOT NULL,
	[Defcurr] [varbinary](50) NULL,
	[ope_tel] [varchar](50) NULL,
	[ope_email] [varchar](50) NULL,
	[ope_address] [varchar](100) NULL,
	[ope_zipcode] [varchar](50) NULL,
	[ope_country] [varchar](50) NULL,
	[ope_site] [varchar](100) NULL,
	[ope_comaftervat] [int] NULL,
	[ope_maxdiscount] [int] NULL,
	[ope_name] [varchar](50) NULL,
	[ope_fname] [varchar](50) NULL,
	[ope_comvat] [int] NULL,
	[ope_vatnum] [varchar](50) NULL,
	[ope_taxoff] [varchar](50) NULL,
	[bankinfo] [varchar](200) NULL,
	[createdate] [datetime] NULL,
	[updatedate] [datetime] NULL,
	[rowstatus] [bit] NULL,
 CONSTRAINT [PK_fleet_operators] PRIMARY KEY CLUSTERED 
(
	[FleetoperaterID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[fleet_operators] ADD  CONSTRAINT [DF_fleet_operators_rowstatus]  DEFAULT ((1)) FOR [rowstatus]
GO


